package Main;

public class Main {
	public static void main(String[] args){
		Reader r = new Reader(System.in);
		Echo e = new Echo();
		ExitCommand exit = new ExitCommand();
		while(true){
			String str = r.readLine();
			if(!str.equals("e")){
//				e.print(str);
			}else{
				exit.run();
			}
		}
	}
}